-
Notifications
You must be signed in to change notification settings - Fork 133
8351458: (ch) Move preClose to UnixDispatcher #2051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back sacharya! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
5e18016
to
d53a3cd
Compare
@shruacha1234 Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
Webrevs
|
/approval JDK-8351458 request Clean backport, Refactored to move "prepare for close" logic into UnixDispatcher to simplify code and handle blocked threads during socket close more effectively in 21u-dev. |
@shruacha1234 |
|
Signed-off-by: Shruthi <[email protected]>
d53a3cd
to
57e506f
Compare
This backport pull request has now been updated with issue from the original commit. |
@shruacha1234 Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
@shruacha1234 Please read https://openjdk.org/projects/jdk-updates/approval.html In particular in
Nothing like that is in the existing fix request comment. |
|
@jerboaa I’m backporting 8351458 because it refactors to move "prepare for close" logic into UnixDispatcher to simplify code and handle blocked threads during socket close more effectively which is a necessary foundation for other functional fix, which needs to be backported to JDK21 openjdk/jdk#25817. This fix is built on top of this refactoring. Without backporting 8351458, openjdk/jdk#25817 cannot be cleanly ported to JDK21 |
OpenJDK PR: openjdk/jdk#23956
OpenJDK bug: https://bugs.openjdk.org/browse/JDK-8351458
The original patch didn’t apply cleanly to the JDK21u-dev branch due to a copyright header mismatch. However, the rest of the changes were ported without issues. Manually updated the copyright header to resolve the conflict.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/2051/head:pull/2051
$ git checkout pull/2051
Update a local copy of the PR:
$ git checkout pull/2051
$ git pull https://git.openjdk.org/jdk21u-dev.git pull/2051/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2051
View PR using the GUI difftool:
$ git pr show -t 2051
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/2051.diff
Using Webrev
Link to Webrev Comment